package bk;

import java.util.ArrayList;
import java.util.List;

public class Question {
	String txt;
	List aList;
	int qType;
	public Question(){
		txt="Sample Question";
		qType=1;
		aList = new ArrayList<Answer>();
		addAnswer();
		addAnswer();
		addAnswer();
	}
	public void addAnswer(){
		aList.add(new Answer());
	}
	public String getTxt() {
		return txt;
	}
	public void setTxt(String txt) {
		this.txt = txt;
	}
	public List getaList() {
		return aList;
	}
	public void setaList(List aList) {
		this.aList = aList;
	}
	public int getqType() {
		return qType;
	}
	public void setqType(int qType) {
		this.qType = qType;
	}
	
}
